package com.ziven.learn.bean;

import com.ziven.easygo.ui.AbstractTypeData;

/**
 * @author Ziven
 */
public class MixedRowBean extends AbstractTypeData {

    public static final int TYPE_SINGLE = 0;
    public static final int TYPE_MULTI = 1;
    private int mType = TYPE_SINGLE;
    private int mColor = 0xE2D849;
    private int mColor2 = 0xE2D849;

    public MixedRowBean setViewColor(int color) {
        mColor = color;
        return this;
    }

    public MixedRowBean setViewColor2(int color) {
        mColor2 = color;
        return this;
    }

    public MixedRowBean setViewType2(int type) {
        mType = type;
        return this;
    }

    public int getViewColor() {
        return mColor;
    }

    public int getViewColor2() {
        return mColor2;
    }

    @Override
    public int getViewType() {
        return mType;
    }
}
